from requests import get
import config
import pymysql
from time import sleep

play = config.play()  # 初始化
api_text = play[1]  # api文本内容(dict类型)
translate = play[4]  # 调用有道翻译
create_table = play[5]  # 创建数据表文件



file = open('./config.txt', mode='r', encoding='utf-8')
file_database = open('database.txt', 'r')

content = eval(file.read())
print(content)
database = eval(file_database.read())
print(database)
content['database'] = database['database']
print(content)
file.close()
file_database.close()

file.close()
file_database.close()

